package com.mew.common.entity.back;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author ztq
 * @since 2020-11-30
 */

@Data
@ToString
@TableName("b_user_role")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserRole {

    @TableId("user_id")
    private Integer userId;

    @TableField("role_id")
    private Integer roleId;

    @TableField(exist = false)
    private String rolename;

}
